using UnityEngine;
using System.Collections;
using System.Collections.Generic;

public class VoiceLines : MonoBehaviour {

	public AudioClip mainLine;
	public List<AudioClip> audioLines;

	// Use this for initialization
	void Start () {
		audio.clip = mainLine;
	}
	
	// Update is called once per frame
	void Update () {
		
	}

	public void SetRandomLine()
	{
		int id = Random.Range(0, audioLines.Count);
		audio.clip = audioLines[id];
	}
}
